<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Agents Language: C:/Users/Caio/Dropbox/Mestrado/agents-language/Compiladores/Compiladores/Symbol.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Agents Language
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">A Programming Language for Robots</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_5529265c7de0d44fe03237e3df773496.html">Compiladores</a></li><li class="navelem"><a class="el" href="dir_64a977d312ff032528a197ff58294cfe.html">Compiladores</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Symbol.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_symbol_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#ifndef __SYMBOL_H</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#define __SYMBOL_H</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_common_8h.html">Common.h</a>&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">using namespace </span>std;</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_symbol.html">   23</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_symbol.html">Symbol</a></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="class_symbol.html#a0254b578a75d2bd6f7e145fe081cb6dd">   29</a></span>&#160;    <span class="keywordtype">string</span> <a class="code" href="class_symbol.html#a0254b578a75d2bd6f7e145fe081cb6dd">name</a>;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">     * \brief value type</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_symbol.html#acb03a33499910a73d719c1eedf22e5bb">   33</a></span>&#160;    <a class="code" href="_common_8h.html#a7b97d4a9bb8e67a5f5257fe024b6a595">Type</a> <a class="code" href="class_symbol.html#acb03a33499910a73d719c1eedf22e5bb">type</a>;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_symbol.html#ade3bf103e1f41c76156f25bdcb499ca2">   37</a></span>&#160;    <a class="code" href="class_value.html">Value</a> <a class="code" href="class_symbol.html#ade3bf103e1f41c76156f25bdcb499ca2">value</a>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="class_symbol.html#acba6d9e79cdebdae583687c051f021df">   41</a></span>&#160;    <span class="keywordtype">string</span> <a class="code" href="class_symbol.html#acba6d9e79cdebdae583687c051f021df">owner</a>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_symbol.html#adb8d331741b10d80b49078e94c1a5970">   45</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_symbol.html#adb8d331741b10d80b49078e94c1a5970">lineNumber</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="class_symbol.html#a0f641308c35665271432bbfcc5e3fb34">   49</a></span>&#160;    <a class="code" href="class_symbol.html">Symbol</a> *<a class="code" href="class_symbol.html#a0f641308c35665271432bbfcc5e3fb34">next</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <a class="code" href="class_symbol.html">Symbol</a>();</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <a class="code" href="class_symbol.html">Symbol</a>(<span class="keywordtype">string</span> name, <a class="code" href="_common_8h.html#a7b97d4a9bb8e67a5f5257fe024b6a595">Type</a> type, <a class="code" href="class_value.html">Value</a> value, <span class="keywordtype">string</span> owner, <span class="keywordtype">int</span> lineNumber);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    ~<a class="code" href="class_symbol.html">Symbol</a>();</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;};</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="class_symbol_html_a0254b578a75d2bd6f7e145fe081cb6dd"><div class="ttname"><a href="class_symbol.html#a0254b578a75d2bd6f7e145fe081cb6dd">Symbol::name</a></div><div class="ttdeci">string name</div><div class="ttdoc">symbol name </div><div class="ttdef"><b>Definition:</b> Symbol.h:29</div></div>
<div class="ttc" id="class_symbol_html_acb03a33499910a73d719c1eedf22e5bb"><div class="ttname"><a href="class_symbol.html#acb03a33499910a73d719c1eedf22e5bb">Symbol::type</a></div><div class="ttdeci">Type type</div><div class="ttdef"><b>Definition:</b> Symbol.h:33</div></div>
<div class="ttc" id="class_symbol_html_acba6d9e79cdebdae583687c051f021df"><div class="ttname"><a href="class_symbol.html#acba6d9e79cdebdae583687c051f021df">Symbol::owner</a></div><div class="ttdeci">string owner</div><div class="ttdoc">symbol owner (scope) </div><div class="ttdef"><b>Definition:</b> Symbol.h:41</div></div>
<div class="ttc" id="class_symbol_html_adb8d331741b10d80b49078e94c1a5970"><div class="ttname"><a href="class_symbol.html#adb8d331741b10d80b49078e94c1a5970">Symbol::lineNumber</a></div><div class="ttdeci">int lineNumber</div><div class="ttdoc">symbol declaration line </div><div class="ttdef"><b>Definition:</b> Symbol.h:45</div></div>
<div class="ttc" id="class_symbol_html_a0f641308c35665271432bbfcc5e3fb34"><div class="ttname"><a href="class_symbol.html#a0f641308c35665271432bbfcc5e3fb34">Symbol::next</a></div><div class="ttdeci">Symbol * next</div><div class="ttdoc">pointer to the next symbol </div><div class="ttdef"><b>Definition:</b> Symbol.h:49</div></div>
<div class="ttc" id="_common_8h_html_a7b97d4a9bb8e67a5f5257fe024b6a595"><div class="ttname"><a href="_common_8h.html#a7b97d4a9bb8e67a5f5257fe024b6a595">Type</a></div><div class="ttdeci">enum TypeEnum Type</div><div class="ttdoc">Node value type enumeration. </div></div>
<div class="ttc" id="class_value_html"><div class="ttname"><a href="class_value.html">Value</a></div><div class="ttdoc">Store a value from any kind. </div><div class="ttdef"><b>Definition:</b> Value.h:17</div></div>
<div class="ttc" id="_common_8h_html"><div class="ttname"><a href="_common_8h.html">Common.h</a></div><div class="ttdoc">Common enumerations definitions. </div></div>
<div class="ttc" id="class_symbol_html_ade3bf103e1f41c76156f25bdcb499ca2"><div class="ttname"><a href="class_symbol.html#ade3bf103e1f41c76156f25bdcb499ca2">Symbol::value</a></div><div class="ttdeci">Value value</div><div class="ttdoc">symbol value </div><div class="ttdef"><b>Definition:</b> Symbol.h:37</div></div>
<div class="ttc" id="class_symbol_html"><div class="ttname"><a href="class_symbol.html">Symbol</a></div><div class="ttdoc">Represent a symbol. </div><div class="ttdef"><b>Definition:</b> Symbol.h:23</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Sep 22 2014 10:41:47 for Agents Language by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>
